package com.sanben.rotation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sanben.common.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author cyh
 * @description: 轮播图表实体类
 * @date: 2020-08-11
 */
@Data
@ApiModel(value = "RotationChart对象", description = "轮播图表")
@TableName("rotation_chart")
public class RotationChart extends BaseEntity {

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "轮播图标签")
    private String label;

    @ApiModelProperty(value = "轮播图url")
    private String url;

    @ApiModelProperty("排序")
    private Integer sort;

}
